
//
//  ResultSuccView.m
//  WBBaseProject
//
//  Created by 吴斌 on 2018/4/11.
//  Copyright © 2018年 吴斌. All rights reserved.
//

#import "ResultSuccView.h"

@implementation ResultSuccView

- (void)setIsSuccess:(BOOL)isSuccess
{
    if (isSuccess) {
        self.stateImageIV.image = [UIImage imageNamed:@"投标成功"];
        self.titleLb.text = @"恭喜您投标成功";
        self.jiangliLb.hidden = NO;
        self.xinyunMoneyBtn.hidden = NO;
        self.lingquBtn.hidden = NO;
        self.lineView.hidden = NO;
    }else
    {
        self.stateImageIV.image = [UIImage imageNamed:@"投标失败"];
        self.titleLb.text = @"抱歉，改标的已筹满";
        self.detailLb.hidden = NO;
        self.detailLb.text = @"好可惜，下手晚啦～\n还可以继续选择其他标的哦";
        self.jixuTouBiaoBtn.hidden = NO;
        self.backHomeBtn.hidden = NO;
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
